//
//  SystemConfig.h
//  Dingdong
//
//  Created by 程强 on 16/11/23.
//  Copyright © 2016年 程强. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DDUserObj.h"
#import "DDCartManager.h"
#import "DDTabBarController.h"

@interface SystemConfig : NSObject
@property (strong, nonatomic) DDTabBarController *rootTabbar;
@property (nonatomic) BOOL isLogin;
@property (copy, nonatomic) NSString *token;
@property (strong, nonatomic) DDUserObj *user;
@property (strong, nonatomic) DDCartManager *cartManager;
+ (instancetype)shareInstance;
+ (NSString *)httpSignWithBody:(NSDictionary *)dic;
- (void)updateCartCountSueesss:(void(^)(NSString *count))block;
- (void)setCartCount:(NSInteger)count;
@end
